package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	zrpc.RpcServerConf
	Wechat     WechatConf
	Mysql      MysqlConfig
	CacheRedis cache.CacheConf
	JWT        AuthConfig
	Es         EsClient
}
type MysqlConfig struct {
	DataSource string
}

type WechatConf struct {
	AppId     string
	AppSecret string
}
type AuthConfig struct {
	AccessSecret string
	AccessExpire int64
}
type EsClient struct {
	Addr string
}
type KafKaClient struct {
	Addr string
}
